﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
using System.Configuration;

namespace KingSite.Library.Sms {
    public class SmsSetting : ISmsSetting {
        public string SmsType {
            get { return ((NameValueCollection)ConfigurationManager.GetSection("KingSiteLibrary/Sms"))["SmsType"]; }
        }



        public string SmsUrl {
            get {
                string s = string.Empty;
                s = ((NameValueCollection)ConfigurationManager.GetSection("KingSiteLibrary/Sms")).Get("SmsUrl");
                return s;
            }
        }
    }
}
